class Dog(object):
    def __init__(self, name):
        self.hit_points = 50
        self.attack_value = 15
        self.hurt_num = 0
        self.decrease_val = 3
        self.name = name
        if self.hit_points < 0:
            del self


    def bite(self, person):
        person.hit_points -= self.attack_value
        person.hurt_num += 1
        person.attack_value -= person.hurt_num * person.decrease_val
        print(f'{self.name} is attacking {person.name},{person.name} remains {person.hit_points} hp')



